package com.ruoyi.monitorTools.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.monitorTools.domain.A2ROfEFIntrusion;
import com.ruoyi.monitorTools.domain.ElectronicFence;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
* @author Administrator
* @description 针对表【a2_electronic fence(电子围栏列表)】的数据库操作Mapper
* @createDate 2025-02-11 13:34:24
* @Entity com.ruoyi.electronicFence.domain.ElectronicFence
*/
@Mapper
public interface ElectronicFenceMapper extends BaseMapper<ElectronicFence> {

    List<ElectronicFence> listByPage(@Param("regionalName") String regionalName,
                                     @Param("enableStatus") Integer enableStatus);


    List<ElectronicFence> isContain(@Param("lon") double lon,
                                    @Param("lat") double lat,
                                    @Param("baseTime") Date baseTime);


    List<A2ROfEFIntrusion> selectBehavior(@Param("taskId") Long taskId,
                                          @Param("behavior") Integer behavior,
                                          @Param("targetName") String targetName);

}




